package com.lhb.mvnbook.account.service;

public interface AccountService {
    String generateCaptchaKey() throws AccountServiceException;
    byte [] generateCaptchaImage(String captchaKey) throws AccountServiceException;

    void signUp(SignUpRequest signUpRequest) throws AccountServiceException;

    void activate(String activationNumber) throws AccountServiceException;
    void login(String id, String password) throws AccountServiceException;

    String getActivationFromId(String id);
}
